<!-- 导航条 -->
<div class="bg-white bread-crumb">
    <ul class="breadcrumb b-a m-b-n-xs lter b-b wrapper-md">
        <li><a ui-sref="main.tpl.homePage"><i class="fa fa-home"></i> 首页</a></li>
        <li><a ui-sref="main.biz.launchplan.planList">推广计划</a></li>
        <li><a ng-click="goBack()">{{planName}}详情</a></li>
        <li class="active" >{{planName}}策略详情</li>
    </ul>
</div>

<!-- 内容区域 -->
<div class="wrapper-md content">
    <div class="panel panel-default">
        <!-- 头部 -->
        <div class="panel-heading font-bold">{{planName}}策略详情
            <a class="btn btn-sm btn-icon btn-rounded btn-default pull-right m-t-n-xs" ng-click="goBack()"><i class="text-md fa fa-times text-muted"></i></a>
        </div>

        <!--表单-->
<div class="panel-body">
  <div class="content-body contentBody">
    <div class="text-title">设置策略 — {{planName}}</div>
    <div class="putType clear">
      <label class="subTitle">地域定向</label>
      <label class="radio ">
          <input type="radio"  name="setPlace" ng-model="setPlace" id="" value="0" data-toggle="radio" class="custom-radio">
          <span class="icons">
            <span class="icon-unchecked"></span>
            <span class="icon-checked"></span>
          </span>
          不限
        </label>
      <label class="radio" ng-click='showAdminiDivision=true'>
          <input type="radio"  name="setPlace" ng-model="setPlace" id="" value="1" data-toggle="radio" class="custom-radio">
          <span class="icons">
            <span class="icon-unchecked"></span>
            <span class="icon-checked"></span>
          </span>
          行政区域
        </label>
      <label ng-show="setPlace=='1'">已选择  <i class="selNum">{{selectedPlace.length}}</i>个行政区</label>
    </div>
    <!-- <div class="setCity">
      <div>行政区域定向</div>
    </div> -->
    <!-- <div ng-if="showAdminiDivision"> -->
    <div ng-if="showAdminiDivision">
        <admini-division show-division="$parent.showAdminiDivision" selected-place='$parent.selectedPlace' set-place="$parent.setPlace"></admini-division>
      <!-- <admini-division></admini-division> -->
    </div>
        <div class="col-md-1" style="padding: 0;margin-top: 40px">
            <label class="col-sm-1 control-label" style="padding: 0"><button class="ifc-btn btn-primary" ng-click="goBack()" type="submit">返 回</button></label>
        </div>
      <!--<div class="col-md-1">-->
          <!--<label class="col-sm-1 control-label"><button class="ifc-btn btn-primary" ng-click="save()" type="submit">保 存</button></label>-->
      <!--</div>-->
  </div>
</div>
</div>


</div>

<script>
  $('.contentBody').css("min-height", $(window).height() - 120)

</script>
<style>
  *{
      padding:0
  }
  .contentBody {
    position: relative;
  }
  .checkbox, .radio {
      display: inline-block;
  }
  .content-body {
      width: 100%;
      padding-left: 40px;
      background-color: white;
  }
  .button {
    position: absolute;
    left: 10px;
    bottom: 50px;
    margin-left: 0;
  }

  .button button:nth-child(1) {
    background: #fff;
    border: 1px solid #ffb135;
    color: #ffb135;
  }

  .text-title {
    color: #000;
    font-size: 18px;
  }

  .subTitle {
    width: 180px;
    font-size: 16px;
  }

  .selNum {
    color: #7eb4fc;
  }
</style>